#include<stdio.h>
double n;
int main()
{
	scanf("%lf", &n);
	printf("%d", (int)(n+0.5));
	return 0;
}
